package com.blb.community.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.community.pojo.*;

import java.util.List;


public interface IZyOwnerRoomService extends IService<ZyOwnerRoom> {
    // 条件查询审核表 分页
    Page<ZyOwnerRoom> getOwnerRoomPage(SelectOwnerRoom selectOwnerRoom);
    // 修改审核状态
    void updateOwnerRoom(ReqBody reqBody);
    // 获取审核记录表 分页
    Page<ZyOwnerRoomRecord> getZyOwnerRoomRecord(Long page, Long size);
    // 添加审核表 审核记录表 修改业主表的部分信息
    void addOwnerRoom(AddOwnerRoom addOwnerRoom);
    // 获取审核记录中的该业主的绑定记录
    List<ZyOwnerRoomRecord> getZyOwnerRoomRecordByOwnerId(Long ownerId);
    // 删除审核记录
    void deleteById(Long id);
    // 获取业主以及绑定的房间记录
    List<ZyOwnerRoomRecord> getZyOwnerRoomRecordByBinding(Long ownerId);
}
